//
//  ProductContentDetailModel.h
//  MyNewProject
//
//  Created by 王春辉 on 1/10/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import "WJBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

#pragma mark -- mark 商品详情信息

@interface ProductContentDetailDataGoodsModel : WJBaseModel
@property (nonatomic, copy) NSString *ptId;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *jifen;
@property (nonatomic, copy) NSString *category;
@property (nonatomic, copy) NSString *spec;
@property (nonatomic, copy) NSString *refer_price;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *freight;
@property (nonatomic, copy) NSString *contents;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *is_show_jifen;
@property (nonatomic, copy) NSString *jifen_type;
@property (nonatomic, copy) NSString *is_sell;
@property (nonatomic, copy) NSString *sales;
@property (nonatomic, copy) NSString *supplier;
@property (nonatomic, copy) NSString *stock;
@property (nonatomic, copy) NSString *shop_id;
@property (nonatomic, copy) NSString *type;
@property (nonatomic, copy) NSString *is_show;
@property (nonatomic, copy) NSString *is_new_user;
@property (nonatomic, copy) NSString *goods_type_id;
@property (nonatomic, copy) NSString *goods_label_id;
@end

#pragma mark -- mark 轮播图

@interface ProductContentDetailDataBannerModel : WJBaseModel
@property (nonatomic, copy) NSString *ptId;
@property (nonatomic, copy) NSString *imgurl;
@end

#pragma mark -- mark 商品详情内容

@interface ProductContentDetailDataModel : WJBaseModel
@property (nonatomic, strong) ProductContentDetailDataGoodsModel *goods;
@property (nonatomic, strong) NSArray <ProductContentDetailDataBannerModel *>*lunbo;
@end

#pragma mark -- mark 商品详情

@interface ProductContentDetailModel : WJBaseModel
@property (nonatomic, strong) ProductContentDetailDataModel *data;
@end

NS_ASSUME_NONNULL_END
/*
{
    "status": "ok",
    "data": {
        "goods": {
            "id": "383",
            "name": "翡翠A货-“百财”",
            "img": "http://apiadmin.yupinyouxuan.com/upload/goods/2019_11_19/f4c083f5ad8b3feb4a51384ab80ed0b4.jpg",
            "jifen": "0",
            "category": "1",
            "spec": "翡翠",
            "refer_price": "1188",
            "price": "1188",
            "freight": "0",
            "contents": "<p><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/53a0e4a6f9590f649b3b7476799255d8.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/882ec3f77c575d4d557b0aaf1ec0d556.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/c4f5811293f6522d7c74fbb236c5e328.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/91d3b353666b1cc026eb815519dc5c01.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/7dfbaa54426956d0da44f38f194970c0.jpg\" style=\"width: 100%;\" data-action=\"zoom\"></p>",
            "time": "2019-11-19 14:26:11",
            "is_show_jifen": "1",
            "jifen_type": "1",
            "is_sell": "0",
            "sales": "0",
            "supplier": "豫品优选",
            "stock": "1",
            "shop_id": "1",
            "type": "2",
            "is_show": "1",
            "is_new_user": "1",
            "goods_type_id": "1",
            "goods_label_id": "1"
        },
        "lunbo": [
            {
                "id": "549",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/23a52dd4e5d0706bc9b4e264d6a44a65.jpg"
            },
            {
                "id": "553",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/27ebf5580a1aa3829c4e9185cb3e5fed.jpg"
            },
            {
                "id": "554",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/17eb163c691ec7945f6116c149064f99.jpg"
            }
        ]
    }
}
*/
